/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cn.ekuma.epos.swing.calc;

/**
 *
 * @author Administrator
 */
public interface CalcLogic {
    static String OP_Add="+";
    static String OP_SUB="-";  
    static String OP_DIV="÷";
    static String OP_MUL="×";


    static String COMM_TOTAL="TOTAL";
    static String COMM_MR="MR";
    static String COMM_MADD="M+";
    static String COMM_MSUB="M-";
    static String COMM_MC="MC";
    static String COMM_SQRT="sqrt";
    static String COMM_EQ="=";
    static String COMM_PER="%";
    static String COMM_XPER="1/x";
    static String COMM_SIGN="±";

    static String COMM_CLR="CLR";

    double calc(double inData);  
 }

